<main>
<h1>Multiple Events Test</h1>

<div role="tablist" hx-target="#page" hx-push-url="false">
	<a role="tab" href="/sse-multiple.html" aria-selected="true">Legacy Style</a>
	<a role="tab" href="/sse-multiple-ext.html">New Style</a>
</div>

<h3>Description</h3>
<p>
	This page connects to a single Server Sent Event (SSE) streams, but listens to multiple events.
</p>
<h3>Example HTML</h3>
<pre class="code">
&lt;div hx-sse="connect:http://localhost/posts.html?types=Event1,Event2 swap:Event1 swap:Event2"&gt;Waiting for Posts...&lt;/div&gt;
</pre>

<h3>Test Cases</h3>

<div>
	<div class="container" hx-sse="connect:/posts.html?types=Event1,Event2 swap:Event1 swap:Event2">Waiting for Posts...</div>
</div>
</div>
</main>
